#ifndef _SELFVOICING_H
#define _SELFVOICING_H

struct ISpVoice;

class SelfVoicing
{
public:
	SelfVoicing();
	~SelfVoicing();

	static SelfVoicing& getInstance(void);

	void Speak(LLString& text);
	void Speak(const char* text);

private:
	ISpVoice* mVoice;				// The voice interface
	static SelfVoicing* gSelfVoicingInstance;	// Global instance for convenience

	SelfVoicing(const SelfVoicing& other);	// Disable Copy
	SelfVoicing& operator= (const SelfVoicing& rhs);	// Disable Assignment
};

#endif	// _SELFVOICING_H
